package com.shuigu.utils;

import org.springframework.boot.CommandLineRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

// CommandLineRunner接口用于在springboot应用启动完成后，执行特定的代码逻辑。可以有多个实现类，使用@Order注解排序执行
@Component
@Order(1)
public class MyCommandLineRunner implements CommandLineRunner {
    @Override
    public void run(String... args) throws Exception {
        System.out.println("Ai code generator: Application started!");
    }
}

